<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
</head>
<body>
<h3 style="text-align: center">修改用户</h3>
<hr/>
<div>
    <form th:action="@{/user/update}" method="post">
        <input type="hidden" name="id" th:value="${etc.id}">
        车牌号：<input type="text" name="carid" th:value="${etc.carid}"/><br/>
        ETC卡号：<input type="text" name="etcid" th:value="${etc.etcid}"/><br/>
        余额：<input type="text" name="balance" th:value="${etc.balance}"/><br/>
        用户名：<input type="text" name="name" th:value="${etc.name}"/><br/>
        使用年限：<input type="date" name="dateyear" dataformatas="yyyy-MM-dd" th:value="${#dates.format(etc.dateyear,'yyyy-MM-dd')}"/><br/>
        <input type="submit" value="确定"/><br/>
    </form>
</div>
</body>
</html>
